﻿
using System.Linq.Expressions;
namespace DomSharp{
public partial class Style{

internal IntOrString PaddingRight {get;set;}
internal IntOrString PaddingLeft {get;set;}
internal IntOrString PaddingTop {get;set;}
internal IntOrString PaddingBottom {get;set;}
internal IntOrString MarginRight {get;set;}
internal IntOrString MarginLeft {get;set;}
internal IntOrString MarginTop {get;set;}
internal IntOrString MarginBottom {get;set;}

public ValueTask<IntOrString> GetPaddingRight(){
        return new DomQueryable(Expression.PropertyOrField(styleExpression,"PaddingRight")).Execute<IntOrString>();
        }

        public ValueTask SetPaddingRight(IntOrString value){
        return new DomQueryable(Expression.Assign(Expression.PropertyOrField(styleExpression,"PaddingRight"),Expression.Constant(value))).Execute();
        }
public ValueTask<IntOrString> GetPaddingLeft(){
        return new DomQueryable(Expression.PropertyOrField(styleExpression,"PaddingLeft")).Execute<IntOrString>();
        }

        public ValueTask SetPaddingLeft(IntOrString value){
        return new DomQueryable(Expression.Assign(Expression.PropertyOrField(styleExpression,"PaddingLeft"),Expression.Constant(value))).Execute();
        }
public ValueTask<IntOrString> GetPaddingTop(){
        return new DomQueryable(Expression.PropertyOrField(styleExpression,"PaddingTop")).Execute<IntOrString>();
        }

        public ValueTask SetPaddingTop(IntOrString value){
        return new DomQueryable(Expression.Assign(Expression.PropertyOrField(styleExpression,"PaddingTop"),Expression.Constant(value))).Execute();
        }
public ValueTask<IntOrString> GetPaddingBottom(){
        return new DomQueryable(Expression.PropertyOrField(styleExpression,"PaddingBottom")).Execute<IntOrString>();
        }

        public ValueTask SetPaddingBottom(IntOrString value){
        return new DomQueryable(Expression.Assign(Expression.PropertyOrField(styleExpression,"PaddingBottom"),Expression.Constant(value))).Execute();
        }
public ValueTask<IntOrString> GetMarginRight(){
        return new DomQueryable(Expression.PropertyOrField(styleExpression,"MarginRight")).Execute<IntOrString>();
        }

        public ValueTask SetMarginRight(IntOrString value){
        return new DomQueryable(Expression.Assign(Expression.PropertyOrField(styleExpression,"MarginRight"),Expression.Constant(value))).Execute();
        }
public ValueTask<IntOrString> GetMarginLeft(){
        return new DomQueryable(Expression.PropertyOrField(styleExpression,"MarginLeft")).Execute<IntOrString>();
        }

        public ValueTask SetMarginLeft(IntOrString value){
        return new DomQueryable(Expression.Assign(Expression.PropertyOrField(styleExpression,"MarginLeft"),Expression.Constant(value))).Execute();
        }
public ValueTask<IntOrString> GetMarginTop(){
        return new DomQueryable(Expression.PropertyOrField(styleExpression,"MarginTop")).Execute<IntOrString>();
        }

        public ValueTask SetMarginTop(IntOrString value){
        return new DomQueryable(Expression.Assign(Expression.PropertyOrField(styleExpression,"MarginTop"),Expression.Constant(value))).Execute();
        }
public ValueTask<IntOrString> GetMarginBottom(){
        return new DomQueryable(Expression.PropertyOrField(styleExpression,"MarginBottom")).Execute<IntOrString>();
        }

        public ValueTask SetMarginBottom(IntOrString value){
        return new DomQueryable(Expression.Assign(Expression.PropertyOrField(styleExpression,"MarginBottom"),Expression.Constant(value))).Execute();
        }
}
}